package com.ruoyi.develop.goodsFee.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 研发经费对象 goods_fee
 *
 * @author qh
 * @date 2023-11-10
 */
public class GoodsFee extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 费用名称
     */
    @Excel(name = "费用名称")
    private String name;

    /**
     * 费用类型
     */
    @Excel(name = "费用类型")
    private String type;

    /**
     * 用途
     */
    @Excel(name = "用途")
    private String yongtu;

    /**
     * 项目id
     */
    @Excel(name = "项目id")
    private String proId;

    /**
     * 项目名称
     */
    @Excel(name = "项目名称")
    private String proName;

    /**
     * 是否报销(0否/1是)
     */
    @Excel(name = "是否报销(0否/1是)")
    private String reimburse;

    /**
     * 小组id
     */
    @Excel(name = "小组id")
    private String deptId;

    /**
     * 归属部门
     */
    @Excel(name = "归属部门")
    private String deptName;

    /**
     * 是否取得发票
     */
    @Excel(name = "是否取得发票")
    private String invoice;

    /**
     * 发票代码
     */
    @Excel(name = "发票代码")
    private String invoiceCode;
    /**
     * 发票号码
     */
    @Excel(name = "发票号码")
    private String invoiceNo;

    /**
     * 有无含税发票
     */
    @Excel(name = "有无含税发票")
    private String invoiceTax;

    /**
     * 含税单价
     */
    @Excel(name = "含税单价")
    private BigDecimal costPriceTax;

    /**
     * 含税总价
     */
    @Excel(name = "含税总价")
    private BigDecimal costTax;

    /**
     * 报销打款信息id
     */
    @Excel(name = "报销打款信息id")
    private String imburseId;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    private String status;

    private BigDecimal money;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "经费发生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date feeDate;


    public Date getFeeDate() {
        return feeDate;
    }

    public void setFeeDate(Date feeDate) {
        this.feeDate = feeDate;
    }

    /** 客户 */
    @Excel(name = "客户")
    private String customerId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;


    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInvoiceCode() {
        return invoiceCode;
    }

    public void setInvoiceCode(String invoiceCode) {
        this.invoiceCode = invoiceCode;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setYongtu(String yongtu) {
        this.yongtu = yongtu;
    }

    public String getYongtu() {
        return yongtu;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getProId() {
        return proId;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProName() {
        return proName;
    }

    public void setReimburse(String reimburse) {
        this.reimburse = reimburse;
    }

    public String getReimburse() {
        return reimburse;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceTax(String invoiceTax) {
        this.invoiceTax = invoiceTax;
    }

    public String getInvoiceTax() {
        return invoiceTax;
    }

    public void setCostPriceTax(BigDecimal costPriceTax) {
        this.costPriceTax = costPriceTax;
    }

    public BigDecimal getCostPriceTax() {
        return costPriceTax;
    }

    public void setCostTax(BigDecimal costTax) {
        this.costTax = costTax;
    }

    public BigDecimal getCostTax() {
        return costTax;
    }

    public void setImburseId(String imburseId) {
        this.imburseId = imburseId;
    }

    public String getImburseId() {
        return imburseId;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("type", getType())
                .append("yongtu", getYongtu())
                .append("proId", getProId())
                .append("proName", getProName())
                .append("reimburse", getReimburse())
                .append("deptId", getDeptId())
                .append("deptName", getDeptName())
                .append("invoice", getInvoice())
                .append("invoiceNo", getInvoiceNo())
                .append("invoiceTax", getInvoiceTax())
                .append("costPriceTax", getCostPriceTax())
                .append("costTax", getCostTax())
                .append("imburseId", getImburseId())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
